package top.lcm889.oj.databean;

/**
 * @author Coder-lcm
 * @date 2021/4/7
 *  二叉树：数据结构
 *
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;
    public TreeNode() {}
    public TreeNode(int val) { this.val = val; }
    public TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
